home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
clntread.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
773b
|
32 lines
.TH CLNTREAD
6 "IRIT Version 6.0"
.SH NAME
CLNTREAD
AnyType CLNTREAD( NumericType Handler, NumericType Block )
Reads one object from a communication channel of a client.
Handler contains the index of the communication channel opened via
CLNTEXEC. If no data is available in the communication channel, this
function will block for at most Block millisecond until data is found
or timeout occurs. In the latter, a single StringType object is returned
with the content of "no data (timeout)". See also CLNTWRITE, CLNTCLOSE,
and CLNTEXEC.
Example:
h2 = clntexec( "xmtdrvs -s-" );
.
.
Model = CLNTREAD( h2 );
.
.
clntclose( h2,TRUE );
reads one object from client through communication channel h2 and save it
in variable Model.